package cn.edu.qzuie.artist.module.td.controller.admin.classinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.*;


@Schema(description = "管理后台 - 班级新增/修改 Request VO")
@Data
public class ClassinfoSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "部门", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "部门不能为空")
    private Long majorId;

    @Schema(description = "班级名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "2042级网络工程1班")
    @NotEmpty(message = "班级名称不能为空")
    private String classinfoName;

}